// read in library files
include('lib/json2.js');
include('lib/help.js');
include('lib/player.js');

// listen for telnet connections on port 4545
(function(){
	var ip = getSetting('ip', '0.0.0.0');
	var port = getSetting('port', 4545);

	Net.listen(ip, port, function(conn){ new Player(conn); });
}());
